<%@ page contentType="text/html; charset=UTF-8" pageEncoding="utf-8"%>
<%@ include file="/common/init.jsp"%>
<link href="<c:url value='/admin/css/custom.css'/>" rel="stylesheet" type="text/css" />
<link href="<c:url value='/admin/css/style.css'/>" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<c:url value='/resources/js/jquery-1.7.2.min.js'/>"></script>
<script type="text/javascript" src="<c:url value='/resources/My97DatePicker/WdatePicker.js'/>"></script>
<script type="text/javascript" src="<c:url value='/resources/js/validate.js'/>"></script>
<script type="text/javascript" src="<c:url value='/resources/js/mask.js'/>"></script>
<script type="text/javascript">
function doRate() {
	$.ajaxSetup({cache:false});
	var checkFlg = true;
	checkFlg = checkFlg && validateNumber_jquery("限制倍数", "name");
	if(checkFlg){
		var data = $("#stockrate").serialize();
		$(document).mask("系统处理中，请稍后......");
		jQuery.ajax({
			url: "${ctx}/admin/updateitem.action",
			type: "post",
			dataType:"html",
			data: data,
			async:false,
			success: function(jsondata){
				alert(jsondata);
				window.location.href = "${ctx}/admin/iteminfo.action";
			},
			error: function(XMLHttpRequest, textStatus, errorThrown) {
		    }
		});
	}
}
</script>
<style type="text/css">
<!--
body {
	background: #ffffff;
	margin-top:10px;
	margin-left:5px;
	margin-right:5px;
}
-->
</style>
<body>
<div class="EpmsSubTitle"><p><b>转股票最高额限制</b></p>
</div>
<form  method="post" id="stockrate">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="EpmsTable">
	<tr>
		<td class=EpmsTdTitle>${dicItem.remark}</td>
		<td class="EpmsTdNoColor">
		不能超过会员级别本金
			<input name="name" type="text" class="text" id="name" size="5" value="${dicItem.name}"/>倍
			<input type="hidden" value="${dicItem.id}" name="id"/>
		</td>
	</tr>
	<tr>
		<td colspan="9" align="center">
			<input type="submit" name="button" id="button" value="保存" onclick="doRate();" class="inputSubmit" />
		</td>
	</tr>
</table>
</form>
</body>